*{
    margin: 0;padding: 0;
}
ul{
    list-style-type: none;
    margin: 0;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
p{
    margin: 0;
}
/*header*/
header{
    &{
        width: 100%;
        height: 33px;
        background:url('https://p.ssl.qhimg.com/t011da1a195c36e744d.png');
        border-bottom: 1px solid #c7c7c7;
    }
    #header-main{
        &{
            width: 1200px;
            height: 100%;
            margin: 0 auto;
            color: #ccc;
        }
        ul li{
            float: left;
            line-height: 33px;
        }
        .h-l{
            margin: 0;
            li{
                height: 33px;
            }
            span{
                font-size: 15px;
                color: #185;
            }
        }
        a{
            font-size: 12px;
            color: black;
            margin: 0 10px;
            &:hover{
                border-bottom: 1px solid black;
            }
        }
        .h-r{
            height: 33px;
            span{
                font-size: 12px;
                color: black;
                margin-right: 10px;
            }
            #service{
                &{
                    border: 1px solid transparent;
                    position: relative;
                    box-sizing: border-box;
                }
                #uu{
                    background: white;
                    width: 103%;
                    margin-left: -1px;
                    border: 1px solid #000;
                    display: none;
                    position: absolute;
                    top:33px;
                    left: 0;
                }
                span{
                    display: inline-block;
                    width: 0;
                    height: 0;
                    border: 5px solid;
                    border-color: black transparent transparent transparent;
                    margin: -3px 5px;
                }
            }
        }
    }
    
}
/*nav*/
nav{
    &{
        width: 1200px;
        height: 80px;
        margin: 0 auto;
    }
    li{
        float: left;
        line-height: 80px;
        a{
            padding:10px 20px; 
            color: #000;
            font-size: 15px;
        }
        a:hover{
            background: #f4f4f4;
            color: #000;
            text-decoration: none;
        }
    }
}
/*banner*/
#banner{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    .carousel-indicators{
        bottom: 5px;
        left: 1080px;
        width: 100px;
        margin: 0;
        .b{
            width: 15px;
            height: 15px;
            background: #fff;
            border: none;
        }
        .active{
            background: #333;
        }
    }
    section{
        width: 235px;
        height: 100%;
        position: absolute;
        top:0;
        left: 0;
        ul{
            width: 100%;
            height: 100%;
            li{
                height: 25%;
                width: 100%;
                border-bottom: 1px solid #f4f4f4;
                background: rgba(0,0,0,0.5);
                &:hover{
                    background: rgba(0,255,0,0.5);
                }
                a{
                    display: block;
                    line-height: 84px;
                    font-size:18px;
                    color: #fff;
                    padding-left: 85px;
                }
            }
            .pad{
                background: url('https://p.ssl.qhimg.com/t01280de86e9d9dc470.png') no-repeat 0 -9px;
            }
            .dn{
                background: url('https://p.ssl.qhimg.com/t01280de86e9d9dc470.png') no-repeat 0 -110px;
            }
            .sj{
                background: url('https://p.ssl.qhimg.com/t01280de86e9d9dc470.png') no-repeat 0 -210px;
            }
            .fhone{
                background: url('https://p.ssl.qhimg.com/t01280de86e9d9dc470.png') no-repeat 0 -310px;
            }
        }
    }
}
/*main*/
#main{
    width: 100%;
    background: #E5E1EA;
    #con{
        margin:0 auto;
        width: 1200px;
        #main1{
            width: 1200px;
            height: 166px;
            background: #fff;
            margin-bottom: 30px;
            ul{
                width: 100%;height: 100%;
            }
            li{
                width: 25%;
                height: 100%;
                float: left;
            }
        }
        .remen{
            width: 100%;
            height: 301px;
            background: #fff;
            margin-bottom: 20px;
            ul{
                width: 1000px;
                li{
                    float: left;
                    width: 20%;
                    height: 100%;
                    text-align: center;
                    img{
                        width: 100px;
                        margin: 50px 0 20px 0;
                    }
                    p{
                        color: #000000;
                        font-size: 15px;
                    }
                    .p-img{
                        width:200px;
                        margin: 40px 0 15px 0;
                    }
                    .price{
                        margin-top: 5px;
                        color: red;
                    }
                }
            }
        }
    }
    
}
#main2{
    width: 100%;
    #weixiu{
        width: 1200px;
        margin: 0 auto;
        form{
            margin: 20px 0;
            span{
                width: 0;
                height: 0;
                display:inline-block;
                border: 5px solid;
                border-color:green transparent transparent transparent;
                margin-left: 10px;
            }
            button:nth-child(1),button:nth-child(2){
                width: 150px;
                height: 40px;
                border:1px solid darkgreen;
                background: #fff;
                line-height: 30px;
            }
            input{
                width: 470px;
                height: 40px;
                border:1px solid darkgreen;
                text-indent: 2em;
            }
            button:nth-child(4){
                width: 100px;
                height: 40px;
                border:none;
                background: darkgreen;
                color: white;
                font-size: 15px;
            }
        }
    }
    #moren{
        width: 890px;
        height: 50px;
        border: 1px solid #C7C7C7;
        background: #eee;
        margin: 20px 0;
        box-sizing: border-box;
        ul{
            width: 100%;
            height: 100%;
        }
        li{
            float: left;
            line-height: 48px;
            padding:0 30px;
            a{
                display:block;
                color: #666;
            }
        }
        .white{
            background: white;
            border-right: 1px solid #C7C7C7;
            box-sizing: border-box;
        }
    }
    #main3{
        width: 890px;
        li{
            width: 890px;
            height: 145px;
            position: relative;
            img{
                float: left;
                margin: 0 20px 0 0;
                border:1px solid #000;
            }
            h4{
                line-height: 50px;
                a{
                    color: #185;
                    span{
                        color: black;
                        margin-left: 30px;
                        font-size: 15px;
                    }
                }
            }
            p{
                margin: 15px;
            }
            a{
                color: black;
            }
            button{
               width: 150px;
               height: 50px;
               border:1px solid darkgreen; 
               color: darkgreen;
               font-size: 20px;
               background: #fff;
               position: absolute;
               right: 10px;
               top:30px;
            }
        }
    }
}

